Skip to content

Remove stale prompts and fix broken skill asset paths - #3

Draft
ProjectAI00 with Copilot wants to merge 2 commits into
mainfrom
copilot/remove-confirmed-dead-assets
Draft

Remove stale prompts and fix broken skill asset paths#3
ProjectAI00 with Copilot wants to merge 2 commits into
mainfrom
copilot/remove-confirmed-dead-assets

Conversation

Copilot AI commented Mar 4, 2026

Copy link
Copy Markdown

Three prompt files in prompts/ had drifted out of sync with their canonical counterparts in npm/skills/imi/ — using old command names (imi add-goal, imi add-task, imi memory add) that no longer match the CLI. Additionally, skills/imi/SKILL.md was missing, causing two integration test failures and a broken Claude plugin marketplace reference.

Removed (dead assets)

  • prompts/plan-mode.md, prompts/ops-mode.md, prompts/ai-voice.md — stale copies superseded by npm/skills/imi/ equivalents with current command names

Fixed

  • skills/imi/SKILL.md — missing file added (copied from npm/skills/imi/SKILL.md); required by integration test 23 and by .claude-plugin/marketplace.json which declares ./skills/imi as the plugin skill source

Updated references

  • README.md Agent Prompts table now points to npm/skills/imi/plan-mode.md and npm/skills/imi/ops-mode.md instead of the deleted files; prompts/execute-mode.md retained — it is an active runtime asset referenced by src/main.rs as the hankweave globalSystemPromptFile

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/ProjectAI00/ai-db-imi/releases/latest
    • Triggering command: /usr/bin/curl curl -s --max-time 5 -H Accept: application/vnd.github.v3+json -H User-Agent: imi-cli REDACTED mi.c67e1696eb44c5ba-cgu.03.rcgu.o mi.c67e1696eb44c5ba-cgu.04.rcgu.o mi.c67e1696eb44c5ba-cgu.05.rcgu.o mi.c67e1696eb44c5ba-cgu.06.rcgu.o mi.c67e1696eb44c5ba-cgu.07.rcgu.o mi.c67e1696eb44c5ba-cgu.08.rcgu.o mi.c67e1696eb44c5ba-cgu.09.rcgu.o mi.c67e1696eb44c5ba-cgu.10.rcgu.o mi.c67e1696eb44c5ba-cgu.11.rcgu.o mi.c67e1696eb44c5ba-cgu.12.rcgu.o mi.c67e1696eb44c5ba-cgu.13.rcgu.o (http block)
    • Triggering command: /usr/bin/curl curl -s --max-time 5 -H Accept: application/vnd.github.v3+json -H User-Agent: imi-cli REDACTED artifacts,future-s id_mmbuw60mafb3 i-6a0d9f8e67558a/dev/null t","distinct_id":"uid_mmbuw60oetbzriev","properties":{"version":"0.3.19","platform":"linux-x86_64","duration_ms":1,"is_ci":true,"interactive":false,"install_id":"iid_mmbuw60ma c_demangle-85b1fPOST detect-9b165106d-H :"linux-x86_64","duration_ms":10,"is_ci":true,"interactive":false,"install_id":"iid_mmbuw60mafb c_std_workspace_curl z_oxide-ec844042-s "iid_mmbuw60maf stup/toolchains//dev/null (http block)
    • Triggering command: /usr/bin/curl curl -s --max-time 5 -H Accept: application/vnd.github.v3+json -H User-Agent: imi-cli REDACTED -H id_mmbuwjfms57i dirname t","distinct_id":"uid_mmbuw60oetbzriev","properties":{"version":"0.3.19","platform":"linux-x86_64","duration_ms":1,"is_ci":true,"interactive":false,"install_id":"iid_mmbuwjfms script_build.a28POST t5v6kyfm1ocsvez7-H m":"linux-x86_64","duration_ms":1,"is_ci":true,"interactive":false,"install_id":"iid_mmbuwjfms5 (http block)
  • us.i.posthog.com
    • Triggering command: /usr/bin/curl curl -s -o /dev/null -X POST -H Content-Type: application/json -d {"api_key":"phc_exyd1ppU0ZS7McQ1ay1gxvCaUI2QfYPuMCTk4kawVKF","event":"imi_init","distinct_id":"uid_mmbuw60oetbzriev","properties":{"version":"0.3.19","platform":"linux-x86_64","duration_ms":23,"is_ci":true,"interactive":false,"install_id":"iid_mmbuw60mafb /home/REDACTED/work/ai-db-imi/ai-db-imi/target/release/deps/clap_derive-3a97accb5716eef6.clap_derive.4aebc065d375203f-cgu.13.rcgu.o /home/REDACTED/work/ai-db-imi/ai-db-imi/target/release/deps/clap_derive-3a97accb5716eef6.clap_derive.4aebc065d375203f-cgu.14.rcgu.o (dns block)
    • Triggering command: /usr/bin/curl curl -s -o /dev/null -X POST -H Content-Type: application/json -d {"api_key":"phc_exyd1ppU0ZS7McQ1ay1gxvCaUI2QfYPuMCTk4kawVKF","event":"imi_init","distinct_id":"uid_mmbuw60oetbzriev","properties":{"version":"0.3.19","platform":"linux-x86_64","duration_ms":3,"is_ci":true,"interactive":false,"install_id":"iid_mmbuw60mafb3 (dns block)
    • Triggering command: /usr/bin/curl curl -s -o /dev/null -X POST -H Content-Type: application/json -d {"api_key":"phc_exyd1ppU0ZS7McQ1ay1gxvCaUI2QfYPuMCTk4kawVKF","event":"imi_goal","distinct_id":"uid_mmbuw60oetbzriev","properties":{"version":"0.3.19","platform":"linux-x86_64","duration_ms":1,"is_ci":true,"interactive":false,"install_id":"iid_mmbuw60mafb3 --check-cfg cfg(docsrs,test) 64-u�� 64-REDACTED-linux-gnu/lib/libminiz_oxide-ec844042f1e20091.rlib 64-REDACTED-linux-gnu/lib/libadler2-fa28e789c10e1e7f.rlib ug/build/zmij-36/home/REDACTED/.rustup/toolchains/stable-x86_64-REDACTED-linux-gnu/lib/rustlib/x86_--max-time r (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Task: Remove confirmed dead assets

Description

Delete only candidates marked safe from the inventory, then remove dangling references and command/docs mentions that point to removed assets. Keep changes surgical and avoid semantic behavior changes to active commands and runtime paths.

Acceptance Criteria

Confirmed dead assets removed and all direct references cleaned.

Relevant Files

  • src/main.rs
  • npm/skills/
  • scripts/
  • README.md

Tools

  • (none)

Goal description

Audit and remove dead code paths, unused modules, stale scripts, and unnecessary folders that are no longer part of the active IMI runtime. Prioritize safety by proving non-usage before deletion, preserving required skill/runtime assets, and keeping behavior unchanged for supported flows. Include a final verification pass to ensure CLI commands and test suites still pass after removals.

Goal why

Reduce maintenance burden, confusion, and risk from stale assets while keeping the core loop reliable.

Prior work on this goal

  • (none)

Decisions affecting this goal

  • (none)

Workspace Path

/Users/aimar/Documents/Kitchen/imi/ai-db-imi


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

…i/SKILL.md

Co-authored-by: ProjectAI00 <174952601+ProjectAI00@users.noreply.github.com>
Copilot AI changed the title [WIP] Remove confirmed dead assets from inventory Remove stale prompts and fix broken skill asset paths Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants